package com.zzyl.nursing.task;

import ch.qos.logback.core.joran.action.IADataForComplexProperty;
import com.zzyl.nursing.service.IDeviceDataService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Auther: zhaojh
 * @Date: 2025/6/6 - 06 - 06 - 17:05
 * @Description: com.zzyl.nursing.task
 * @version: 1.0
 */
@Component
@Slf4j
public class DeviceDataTask {
    @Autowired
    private IDeviceDataService iDeviceDataService;

    public void deleteDeviceDataByTime(){
        log.info("开始删除");
        iDeviceDataService.deleteDeviceDataByTime();
    }

}
